<?PHP

//default values
$content_category=new content_category;
$content_category->where['type']='video';
$content_category->get_category();
$e['owner']=$_SESSION['user_id'];


$table='playlist';
$id='id';
$catch='name';
include 'b/default_process_form.php';
printformheader('Playlist Information',"add/Edit Playlist");


	begin_form($_GET['cmd'],$id);


	p_input('name',$o,$e);
	p_text('text',$o,$e);
	p_hidden('owner',$o,$e);
	p_select('category',$content_category->data,$e,'0','2',$o);
	$enum_data=get_enum($table,'shuffle');
	p_select('shuffle',$enum_data,$e,'0','1',$o);
	printsubmit("Save");
	end_form($_GET['cmd']);
	printformfooter('View Playlists','?q=m/music/v_playlist.php',NULL,NULL,NULL,NULL);

	

?>